package com.rambler.api.common.vo.qweather;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@Schema(description = "和风天气 - 天气预警信息")
public class QWeatherWarning {
    @Schema(description = "预警ID")
    private String id;

    @Schema(description = "发布机构")
    private String sender;

    @Schema(description = "发布时间")
    private String pubTime;

    @Schema(description = "预警标题")
    private String title;

    @Schema(description = "预警开始时间")
    private String startTime;

    @Schema(description = "预警结束时间")
    private String endTime;

    @Schema(description = "状态，如 active、cancel 等")
    private String status;

    @Schema(description = "预警级别（部分数据为空）")
    private String level;

    @Schema(description = "严重程度，如 Minor、Severe 等")
    private String severity;

    @Schema(description = "颜色标识，如 Blue、Yellow 等")
    private String severityColor;

    @Schema(description = "预警类型代码")
    private String type;

    @Schema(description = "预警类型名称")
    private String typeName;

    @Schema(description = "紧急程度（部分数据为空）")
    private String urgency;

    @Schema(description = "确认程度（部分数据为空）")
    private String certainty;

    @Schema(description = "预警内容详情")
    private String text;

    @Schema(description = "关联信息（通常为空）")
    private String related;
}
